.class Lcom/waiqin365/lightapp/sku/s;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/sku/SKUListActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/sku/SKUListActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->d(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/sku/c/b;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->e(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    if-nez v0, :cond_0

    const-string/jumbo v0, ""

    :goto_0
    iput-object v0, v1, Lcom/waiqin365/lightapp/sku/c/b;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->d(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/sku/c/b;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->f(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/sku/c/b;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->d(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/sku/c/b;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->g(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    :goto_1
    iput-object v0, v1, Lcom/waiqin365/lightapp/sku/c/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->d(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/sku/c/b;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->h(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_2

    const-string/jumbo v0, ""

    :goto_2
    iput-object v0, v1, Lcom/waiqin365/lightapp/sku/c/b;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->c(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->b(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->i(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/ag;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ag;->a()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->e(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->g(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/sku/s;->a:Lcom/waiqin365/lightapp/sku/SKUListActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/sku/SKUListActivity;->h(Lcom/waiqin365/lightapp/sku/SKUListActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_2
.end method
